<style>
  img {
    position: absolute;
    left: 10px;
    top: 10px;
    background-color: black;
    width: 50px;
    height: 50px;
  }
  
  .stuff {
    height: 20px;
  }

  .outer {
    position: absolute;
    left: 500px;
    top: 100px;
  }

  .inner {
    width: 100px;
    height: 100px;
    background-color: blue;
  }
</style>
<img>
<div class="outer">
  <div class="stuff"></div>
  <div class="inner"></div>
</div>
<div style="position: absolute; left: 0; top: 250px;">
  <img>
  <div class="outer">
    <div class="stuff"></div>
    <div class="inner"></div>
  </div>
</div>
